package com.sk.places.places2.repository;

import java.io.Serializable;

import org.springframework.data.jpa.repository.JpaRepository;

import com.sk.places.places2.service.entity.UserInfo;

// http://forum.springsource.org/showthread.php?115349-Autowired-issue
public interface UserRepository extends JpaRepository<UserInfo, Serializable> {

	public UserInfo findByEmail(String email) ; 
	
//	@Modifying
//	@Transactional
//	@Query("update UserInfo u set u.datevisited = ") ;
//	void updateDatevisited() ;
}
